package com.clkj.xiuzheng.pojo.shangcheng;


import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;


/**
* 
* @TableName t_xz_productCategory
*/
@ApiModel( value ="t_xz_productCategory" )
@Table( name ="t_xz_productCategory" )
public class ProductCategory implements Serializable {


    /**
     * 商城 药品分类表 分类ID
     */
    @Id
    @Column(name = "product_category_id",updatable = false)
    @ApiModelProperty( value="商城 药品分类表 分类ID")
    private Integer productCategoryId;

    /**
     * 药品分类名称
     */
    @Column(name = "category_name" )
    @ApiModelProperty( value="药品分类名称")
    private String categoryName;

    /**
     * 分类是否被下架 0删 1激活
     */
    @Column(name = "category_status" )
    @ApiModelProperty( value="分类是否被下架 0删 1激活")
        private Integer categoryStatus;

    /**
     * 父id
     */
    @Column(name = "parent_id" )
    @ApiModelProperty( value="父id")
    private Integer parentId;

    /**
     * 公司id
     */
    @Column(name = "company_id" )
    @ApiModelProperty( value="公司id")
    private Integer companyId;

    /**
     * 分类等级 0,1,2
     */
    @Column(name = "category_level" )
    @ApiModelProperty( value="分类等级")
    private Integer categoryLevel;


    /**
     * 一级分类图标
     */
    @Column(name = "category_img" )
    @ApiModelProperty( value="一级分类图标")
    private String categoryImg;

    private List<ProductCategory> categories;



    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }


    public Integer getCategoryStatus() {
        return categoryStatus;
    }

    public void setCategoryStatus(Integer categoryStatus) {
        this.categoryStatus = categoryStatus;
    }


    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }


    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }


    public Integer getCategoryLevel() {
        return categoryLevel;
    }

    public void setCategoryLevel(Integer categoryLevel) {
        this.categoryLevel = categoryLevel;
    }

    public Integer getProductCategoryId() {
        return productCategoryId;
    }

    public void setProductCategoryId(Integer productCategoryId) {
        this.productCategoryId = productCategoryId;
    }

    public String getCategoryImg() {
        return categoryImg;
    }

    public void setCategoryImg(String categoryImg) {
        this.categoryImg = categoryImg;
    }

    public List<ProductCategory> getCategories() {
        return categories;
    }

    public void setCategories(List<ProductCategory> categories) {
        this.categories = categories;
    }
}
